home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / ARCHIVE / ZIPNEW.ZIP / ZIPNEW.DOC < prev    next >
Encoding:
Text File  |  1990-07-16  |  15.1 KB  |  343 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                    ZIPNEW
  7.  
  8.                                 Zip New files
  9.  
  10.                        Copyright (c) 1990, 1991, 1992
  11.                              Transversal Design
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                              Transversal Design
  23.                                 PO Box 66082
  24.                            Chicago, IL  60666-0082
  25.                       Beeper: (312) 999-0745 (digital)
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.                                                                         071590
  35. First Things First:
  36.  
  37. Please take the time to read the License, Warranty and Registration
  38. information.  If you have received this file without printed documentation,
  39. this information is contained in the file named LICENSE.DOC.
  40.  
  41. The information contained in this file/pamphlet outlines copyright
  42. information, licensing agreement, warranty, technical support policies and
  43. additional information about registering your software.  It also includes
  44. descriptions of other programs by Transversal Design in which you might be
  45. interested.  Please take the time to read this information to be sure you
  46. understand your rights and the expectations/guidelines of Transversal Design.
  47. ZIPNEW
  48.  
  49. ZipNew came about one day while working on a large project.  It started
  50. getting very difficult to maintain an adequate backup of JUST the files
  51. modified on that day.  We wrote ZipNew to step through a directory and check
  52. which files had changed for that day, then create a batch file of these file
  53. names and shell out to PKZIP to make our backup.  We then added the ability to
  54. specify a date and time, then the ability to work globally across the drive.
  55.  
  56. ZipNew is intended to be used by anyone who works with a large number of files
  57. over the course of a given day.  This may include a medical secretary who
  58. works upon several grants or patient letters over the course of the day.  It
  59. may include any writer who works under the grind of headlines, working on
  60. several stories at one time.  It is DEFINITELY for any programmer working on a
  61. program split over several files.
  62.  
  63.  
  64.  
  65. Prior Knowledge/Limitations
  66.  
  67. It is assumed that the user is reasonably familiar with PKZIP and has a copy
  68. of it in their default path.  PKZIP is one of THE BEST compression programs
  69. out there in terms of speed and resultant size of the files.  Compression is
  70. the process of taking a file and compressing the data so that it takes a
  71. fraction of the space on a user's disk.  Unless told otherwise, both the
  72. compressed and the original files reside on the disk.  Many people find it
  73. useful for making copies of files which are smaller and storing them on
  74. floppy disks, among many other uses.  Consult LICENSE.DOC for more information
  75. about obtainining a copy of PKZIP, if you are not using it.  ZipNew can still
  76. be used to tell you which files have changed, but you will not be able to
  77. "collect" them into a backup file.
  78.  
  79. It is also assumed that this copy of PKZIP is a registered copy.  If you are
  80. using it, please register it.  Enough soap boxing.
  81.  
  82. Further assumptions are that the user is familiar with DOS, entering commands
  83. into the computer, and entering parameters on the command line for programs.
  84.  
  85. ZipNew should run on any IBM or compatible.  It is assumed that the user has
  86. at least 512k, although this is not a requirement of the program.  The EXE
  87. file is about 30k, leaving the rest of memory for PKZIP.  Any computer which
  88. will run PKZIP should be able to run ZipNew.
  89.  
  90. NOTE: ZipNew has not been tested on any networks.  Feedback is desired (in
  91. writing please) from any users with access to networks.
  92.  
  93.  
  94.  
  95. What It Does:
  96.  
  97. ZipNew will step through every file in the current directory, compare its time
  98. and date against the specified time and date, and if the file matches or is
  99. later than the time/date, will queue it up for zipping.
  100.  
  101. After all files are queued, ZipNew will determine where PKZIP is at on your
  102. drive, create the batch file to be used with the @ directive, then shell out
  103. to PKZIP to create the zip file.  The zip file, if the name is not specified,
  104. will be ddddtttt.yyZ where dddd=month/day, tttt= hour/minute and yy=year-1900
  105. (at least until the year 2000).  For instance, running ZipNew on July 16, 1990
  106. at 5:23 pm will create the default file of 07161723.90Z (remember, time is in
  107. military format).
  108.  
  109.  
  110.  
  111. Conventions Used:
  112.  
  113. One of the main problems of all software documentation is how to differentiate
  114. between what to type and other information.  We will use UPPERCASE letters to
  115. signify what to type.  Any information enclosed within less-than ( < ) and
  116. greater-than ( > ) signs means to locate and press the key within the signs,
  117. not the letters themselves.  For instance, <Enter> means to press the key
  118. labelled "Enter" (note: on some computers, this may be labelled as "Return"). 
  119. <F1> would mean to press the <F1> key, not to type the letter F followed by
  120. the number 1.  <Shft-F1> means to hold the shift key down and press F1, <Ctrl-
  121. F1> means to hold the Ctrl (or control) key down and press F1, and <Alt-F1>
  122. means to hold the Alt key down and press F1.  When uppercase is used, it
  123. always refers to a program name or a directory name.
  124.  
  125.  
  126.  
  127. The Programs:
  128.  
  129. ZipNew comprises of two programs.  They are:
  130. TouchIt.EXE       "Touches" a file and makes its time and date the current
  131.                   time and date.
  132. ZipNew.EXE        Creates zip files of changed files for the day(s).
  133.  
  134.  
  135.  
  136. General Information:
  137.  
  138. Whenever you create a file, DOS records the time and date the file was
  139. created.  This time and date is updated whenever the file is changed.  You can
  140. take your favorite wordprocessor, load a document and print the file as many
  141. times as you like without changing the time and date.  BUT, once you make
  142. changes and save the file, it has now had information written to it and DOS
  143. faithfully updates the time and date of the file.
  144.  
  145. This is the main reason why it is so important to set the time and date
  146. whenever you turn on your computer.  EVERY user has, at some point, used the
  147. time and date to determine the most recent file when a file is in several
  148. areas on the disk.
  149.  
  150. ZipNew takes advantage of the fact that the time and date are changed every
  151. time a file is changed.  With it, you can change 5, 10, 100 or even 1,000
  152. files and ZipNew will queue them up for zipping.
  153. Installation:
  154.  
  155. ZipNew is one of several utilities available from Transversal Design.  Most
  156. users, after they have had their systems for a while, will have collected a
  157. hodge-podge of utilities and really don't know where to store them.
  158.  
  159. The simple solution is to make a directory called \UTILITY and put all these
  160. program files there.  If you have not already made such a directory, type the
  161. following:
  162. MD \UTILITY            <Enter>
  163. Change to the directory with:
  164. CD \UTILITY            <Enter>
  165.  
  166. If you purchased ZipNew via shareware, the fact that you are reading this
  167. document indicates that you have already unzipped the file.  Copy the ZipNew
  168. program files to the \UTILITY directory.
  169.  
  170. If you purchased ZipNew directly from Transversal Design, insert the ZipNew
  171. diskette in drive A and copy the files:
  172. COPY A:*.*             <Enter>
  173.  
  174. DOS always looks for files in the current directory first and in its startup
  175. path second, as mentioned earlier.  You should make sure that the UTILITY
  176. directory is a part of this path.  Enter the following:
  177. TYPE \AUTOEXEC.BAT     <Enter>
  178. If you do not see a line that starts with the word PATH, you should edit your
  179. AUTOEXEC.BAT file to have at least the following: PATH \UTILITY.  If you do
  180. see the word PATH, you should edit the line so that it includes the path
  181. \UTILITY.  Remember, each directory must be separated by a semicolon.  Below
  182. is a typical path.
  183.   PATH C:\;C:\DOS;C:\WP;C:\UTILITY
  184. Note that the last directory does not have a semicolon after it.  This example
  185. path tells DOS, when trying to find a command to execute, to look in its
  186. internal commands first (such as DIR or COPY), then the current directory,
  187. then the root directory (C:\), then the DOS directory (C:\DOS) then the WP
  188. directory (C:\WP) and finally in the UTILITY directory (C:\UTILITY) before
  189. giving up and saying "Bad command or file name".
  190.  
  191.  
  192.  
  193. Getting Started:
  194.  
  195. Perhaps the easiest way to see how to use ZipNew is to do a few examples. 
  196. Included with ZipNew is a program called TouchIt.  This program will take a
  197. file and change the time and date of the file.  We won't get too far into the
  198. intricacies of TouchIt.  It does nothing more than change the time and date of
  199. a file.  We WILL cover how this may be important to you later in the
  200. documentation.
  201.  
  202. With your program is the documentation files.  These end in both .DOC and
  203. .WP4.  Let's start with a simple example first.
  204.  
  205. Let's say you worked for Transversal Design (us) as a secretary or
  206. wordprocessor, and early in the morning, we had you work upon ZipNew.WP4,
  207. among other files.  To simulate this, type the following:
  208. TOUCHIT ZIPNEW.WP4          <Enter>
  209. The real power in TouchIt is that you can specify the time and date, but that
  210. is outside of this document, or this example.  TouchIt, in the above example,
  211. will take ZipNew.WP4 and set it to the current time and date of your computer.
  212. Now, let's say that also, later in the morning, you worked upon ZipNew.Doc. 
  213. Simulate this with:
  214. TOUCHIT ZIPNEW.DOC          <Enter>
  215.  
  216. Now, let's assume it is the end of the day.  You know you worked on several
  217. files, but don't necessarily remember that ZipNew was one of them.  To zip the
  218. files for today, simply type:
  219. ZIPNEW                      <Enter>
  220.  
  221. This will create a file with a filename of ddddtttt.yyZ where dddd=month/day
  222. and tttt=hour/minute, and yy=year-1900.  If this were run on July 16, 1990 at
  223. 4:30 pm, the file name would be 07161630.90Z, or, in English terms,
  224. 07/16,16:30.1990Z.  You may use the default file name, if desired, or specify
  225. your own.  We chose the date/time format, although somewhat difficult to read,
  226. because it is very easily understood that any file ending in .90Z is a "zip"
  227. file from 1990.  Any file starting with 07 is from the month of July.  We
  228. think you get the idea.
  229.  
  230. You should see, for this example, at the least ZIPNEW.WP4 and ZIPNEW.DOC being
  231. queued for zipping, then actually zipped.  That's all there is to ZipNew.  If
  232. you run it at the end of each day, using the /g global command and A: as your
  233. output drive, you will always have a current backup of your drive.  For
  234. example, at the end of each day, type:
  235. ZIPNEW A:/g       <Enter>
  236. This will create a backup of ANY file changed today on your hard drive to
  237. drive A:.  It will ONLY backup the modified files, not any other.
  238.  
  239. To do weekly backups using ZipNew, you might use:
  240. ZIPNEW JULY16 /d=07/16/90 /g     <Enter>
  241. This would create the zip file JULY16.ZIP, using any files greater than or
  242. equal to July 16, 1990 with any time.  The file would be created on your hard
  243. drive and would need copied to a floppy using:
  244. COPY JULY16.ZIP A:               <Enter>
  245.  
  246.  
  247.  
  248. In Closing:
  249. Experiment with ZipNew.  The time and date are moderately rigid formats for
  250. this version.  /L may be used to "see" the files before any action is actually
  251. taken.  /G may be used to force an entire ZIPNEW across the entire drive.  The
  252. best way to learn the program is to use it.  No files are ever erased (except
  253. within the scenarios where the parms to PKZIP might erase files).  You may
  254. find yourself, at the end of each day, typing:
  255. ZIPNEW A: /G           <Enter>
  256. much like we do here at Transversal Design.  We hope you find a lot of use out
  257. of this utility
  258. Usage
  259.  
  260. For those users who are fairly familiar with command-line driven programs such
  261. as PKZIP, the usage should be fairly straight-forward.  The command line is:
  262.  
  263. ZIPNEW [zipname] [/d[=]date] [/t[=]time] [/L] [/h|/?] [/g] ["zip parms"]
  264.   where:
  265.         zipname        = output file name.
  266.         /d[=]date      = date in the format of /d=01/01/90
  267.         /t[=]time      = time in the format of /t=13:23
  268.                        NOTE: Date and time MUST be 8 and 5 chars long,
  269.                        respectively.  Time is in military format (hours=0..23)
  270.         /L             = show (log) files which will be processed.
  271.         /h or /?       = show help only.
  272.         /g             = work globally across the drive.
  273.         "zip parms"    = parameters to pass to PKZIP.
  274.  
  275. ZipNew is not case-sensitive.  The parameters may be entered in any order. 
  276. The quotes ( " ) must be included surrounding the parameters to pass to PKZIP. 
  277. The parameters are passed to PKZIP EXACTLY as entered, with no conversions
  278. other than to remove the quotes.
  279.  
  280. All output may be redirected using standard DOS conventions.
  281.  
  282.  
  283.  
  284. PKZIP is a registered trademark of PK Ware, Inc.  For more information
  285. regarding PKZIP, contact:
  286.         PK Ware, Inc.
  287.         7545 North Port Washington Road
  288.         Suite 205
  289.         Glendale, WI  53217
  290.         (414) 352-3670
  291.  
  292. The inclusion of these product names in this documentation is no indication
  293. whatsoever that the respective companies have used or endorse this product.
  294.  
  295.  
  296.  
  297.          ----------------end-of-author's-documentation---------------
  298.  
  299.                          Software Library Information:
  300.  
  301.                     This disk copy provided as a service of
  302.  
  303.                            Public (software) Library
  304.  
  305.          We are not the authors of this program, nor are we associated
  306.          with the author in any way other than as a distributor of the
  307.          program in accordance with the author's terms of distribution.
  308.  
  309.          Please direct shareware payments and specific questions about
  310.          this program to the author of the program, whose name appears
  311.          elsewhere in  this documentation. If you have trouble getting
  312.          in touch with the author,  we will do whatever we can to help
  313.          you with your questions. All programs have been tested and do
  314.          run.  To report problems,  please use the form that is in the
  315.          file PROBLEM.DOC on many of our disks or in other written for-
  316.          mat with screen printouts, if possible.  PsL cannot debug pro-
  317.          programs over the telephone, though we can answer questions.
  318.  
  319.          Disks in the PsL are updated  monthly,  so if you did not get
  320.          this disk directly from the PsL, you should be aware that the
  321.          files in this set may no longer be the current versions. Also,
  322.          if you got this disk from another vendor and are having prob-
  323.          lems,  be aware that  some files may have become corrupted or
  324.          lost by that vendor. Get a current, working disk from PsL.
  325.  
  326.          For a copy of the latest monthly software library newsletter
  327.          and a list of the 2,000+ disks in the library, call or write
  328.  
  329.                            Public (software) Library
  330.                                P.O.Box 35705 - F
  331.                             Houston, TX 77235-5705
  332.  
  333.                                 1-800-2424-PSL
  334.                                  MC/Visa/AmEx
  335.  
  336.                           Outside of U.S. or in Texas
  337.                           or for general information,
  338.                               Call 1-713-524-6394
  339.  
  340.                           PsL also has an outstanding
  341.                           catalog for the Macintosh.
  342.  
  343.